package com.juhuixing.common.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @ClassName UserInfoDTO
 * @Description TODO
 * @Author 刘猛
 * @Date 2019/5/14 16:42
 **/
@Data
public class UserDetailDTO {

    /**用户Id**/
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "用户id")
    private Long id;
    /**
     * 用户唯一标识
     */
    @ApiModelProperty(value = "用户头像")
    private String avatar;

    @ApiModelProperty(value = "用户昵称")
    private String nickname;

    @ApiModelProperty(value = "宠物昵称")
    private String petNickname;

    @ApiModelProperty(value = "生日")
    private String birthday;

    /**星座**/
    @ApiModelProperty(value = "星座")
    private String constellation;

    @ApiModelProperty(value = "用户性别 1 男，0 女")
    private Integer sex;

    @ApiModelProperty(value = "电话号码")
    private String phone;

    /**宠物形象图片**/
    @ApiModelProperty(value = "宠物形象图片")
    private String petImage;

    /**宠物背景图**/
    @ApiModelProperty(value = "宠物背景图片")
    private String backImage;

    /**语音介绍**/
    @ApiModelProperty(value = "用户语音介绍")
    private String voiceIntro;

    /**宠物配音**/
    @ApiModelProperty(value = "宠物配音")
    private String petVoice;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "学校id")
    private Long schoolId;

    @ApiModelProperty(value = "学校")
    private String schoolName;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "年级id")
    private Long departmentId;

    @ApiModelProperty(value = "年级")
    private String departmentName;

    @ApiModelProperty(value = "职业")
    private String profession;

    @ApiModelProperty(value = "地区")
    private String area;

    @ApiModelProperty(value = "生日是否可以修改 0不可以 1可以")
    private Integer canUpdateBirth;
}
